package com.example.springbootprinciple.listener;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

@Component
public class HelloApplicationRunner implements ApplicationRunner {

    Logger logger = LoggerFactory.getLogger(getClass());


    @Override
    public void run(ApplicationArguments args) throws Exception {
        logger.info("HelloApplicationRunner----run");
    }
}
